file(GLOB_RECURSE SRCS *.h *.cpp *.hpp)
# foreach(VAR ${SRCS})
#     message(STATUS ${VAR})
# endforeach()

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_library(SEUi SHARED ${SRCS})
# add_library(SEUi SHARED ${SRCS} ${IMGUI_SRCS} ${ImGuiFileDialog_SRCS} ${IMGUIZMO_SRCS})
# add_library(SEUi STATIC ${SRCS} ${IMGUI_SRCS} ${ImGuiFileDialog_SRCS} ${IMGUIZMO_SRCS})

target_link_libraries(SEUi PRIVATE 
    SECore
    SEWindow
    SEDebug
    SERender
    SDL2::SDL2
)

target_include_directories(SEUi 
    PUBLIC 
        ../
        ./ImGui
        ./ImGuiNodeEditor
        ./ImGuizmo
        # ${IMGUIZMO_INCLUDE_DIR}
)

target_compile_definitions(SEUi PRIVATE IMGUI_EXPORT)
